package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * SpringBoot默认支持两种技术来和ES交互
 *  1.Jest（默认不生效）
 *      需要导入jest的工具包（io.searchbox.client.JestClient)
 *  2.SpringData ElasticSearch
 *      1)Client 节点信息clusterNodes; clusterName
 *      2)ElastricsearchTemplate 操作es
 *      3)编写要给ElasticsearchRepository的子接口操作
 */
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
